package com.swmutil.swmutil.pojo;

/**
 * @author 师文明
 * @data 2024/10/22 上午8:37
 **/
public class All_Param {
    private Integer id;
    private String signal_name; //*信号名称
    private String signal_description; //信号描述
    private Integer bit_length; //信号长度
    private Integer param_order; //拼帧的顺序，也就是在表中的数据
    private Integer value; //信号值 默认0
    private Integer layoutx; //x坐标
    private Integer layouty; //y坐标
    private String options; //多选项
    private Integer type; //类型
    private String unit; //多选项
    private Integer page_id;//信号所属页面


    public All_Param(Integer id, String signal_name, String signal_description, Integer bit_length, Integer param_order, Integer value, Integer layoutx, Integer layouty, String options, Integer type, String unit, Integer page_id) {
        this.id = id;
        this.signal_name = signal_name;
        this.signal_description = signal_description;
        this.bit_length = bit_length;
        this.param_order = param_order;
        this.value = value;
        this.layoutx = layoutx;
        this.layouty = layouty;
        this.options = options;
        this.type = type;
        this.unit = unit;
        this.page_id = page_id;
    }

    public All_Param() {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSignal_name() {
        return signal_name;
    }

    public void setSignal_name(String signal_name) {
        this.signal_name = signal_name;
    }

    public String getSignal_description() {
        return signal_description;
    }

    public void setSignal_description(String signal_description) {
        this.signal_description = signal_description;
    }

    public Integer getBit_length() {
        return bit_length;
    }

    public void setBit_length(Integer bit_length) {
        this.bit_length = bit_length;
    }

    public Integer getParam_order() {
        return param_order;
    }

    public void setParam_order(Integer param_order) {
        this.param_order = param_order;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public Integer getPage_id() {
        return page_id;
    }

    public void setPage_id(Integer page_id) {
        this.page_id = page_id;
    }

    public Integer getLayoutx() {
        return layoutx;
    }

    public void setLayoutx(Integer layoutx) {
        this.layoutx = layoutx;
    }

    public Integer getLayouty() {
        return layouty;
    }

    public void setLayouty(Integer layouty) {
        this.layouty = layouty;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Override
    public String toString() {
        return "All_Param{" +
                "id=" + id +
                ", signal_name='" + signal_name + '\'' +
                ", signal_description='" + signal_description + '\'' +
                ", bit_length=" + bit_length +
                ", param_order=" + param_order +
                ", value=" + value +
                ", layoutx=" + layoutx +
                ", layouty=" + layouty +
                ", options='" + options + '\'' +
                ", type=" + type +
                ", unit='" + unit + '\'' +
                ", page_id=" + page_id +
                '}';
    }
}
